PUT
/
metadata
/
{projectId}
/
{catalogId}
/
{schemaName}
/
{tableName}
curl --request PUT \
  --url https://partner.peaka.studio/api/v1/metadata/{projectId}/{catalogId}/{schemaName}/{tableName} \
  --header 'Content-Type: application/json' \
  --data '{
  "tableDescription": "<string>",
  "columns": [
    {
      "columnName": "<string>",
      "columnDescription": "<string>",
      "dataType": "<string>",
      "order": 123,
      "isNotNull": true,
      "isSystem": true,
      "isUnique": true,
      "isPrimary": true,
      "isCategorical": true,
      "categoricalValues": [
        "<string>"
      ],
      "lineage": [
        {
          "tables": [
            "<string>"
          ],
          "column": "<string>",
          "expression": "<string>"
        }
      ]
    }
  ],
  "useWithAI": true
}'
{}

Path Parameters

projectId
string
required
catalogId
string
required
schemaName
string
required
tableName
string
required

Body

application/json
tableDescription
string
columns
object[]
useWithAI
boolean

Response

200 - */*
OK
{key}
object